<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h3>字符串，整数，布尔，数组</h3>
		<script>
			var str="JavaScript的数据类型";
			console.log(str);
			
			var i=100;
			console.log(i);
			
			var isMan=true;
			console.log(isMan);
			
			var hobby=["dnf","速度便是力量"];
			console.log(hobby);
			console.log(hobby[0]);
			console.log(hobby[hobby.length-1]);
		</script>
	</body>
</html>
